package com.hbx.residential_service.service.impl;

import com.hbx.residential_service.dao.NoticeDao;
import com.hbx.residential_service.domain.Notice;
import com.hbx.residential_service.service.NoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class NoticeServiceImpl implements NoticeService {
    @Autowired
    private NoticeDao noticeDao;

    @Override
    public void InsertNotice(Notice notice) {
        noticeDao.InsertNotice(notice);
    }
}
